package com.gadgetscode.mazeboy;

import javax.swing.ImageIcon;
import javax.swing.JFrame;

public class MazeBoy extends JFrame implements GameAssets {

	public MazeBoy()
	{
		add(new GameBoard());
		setTitle("AMazeBoy");
		ImageIcon img = new ImageIcon(getClass().getResource("/res/player.png"));
		setIconImage(img.getImage());
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		pack();
		setLocationRelativeTo(null);
		setVisible(true);
		setResizable(false);
	}

	public static void main(String[] args) {
		new MazeBoy();
	}
}
